package com.woniu.bh.beautysalon.web.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.woniu.bh.beautysalon.model.dto.AllServiceDto;
import com.woniu.bh.common.core.domain.beautysalon.BeautysalonService;
import org.apache.ibatis.annotations.Param;

/**
 * <p>
 * Mapper 接口
 * </p>
 *
 * @author cxb
 * @since 2020-10-13
 */
public interface BeautysalonServiceMapper extends BaseMapper<BeautysalonService> {
    /**
     * @description: 所有服务
     * @param: page
     * @param: beautysalonId
     * @return: com.baomidou.mybatisplus.core.metadata.IPage<AllServiceDto>
     */
    IPage<AllServiceDto> getAllService(Page<AllServiceDto> page, @Param("beautysalonId") Integer beautysalonId);
}
